<div id="greens">
    <span class="head">Quick Links</span>

    <?php
    $rs_ql= $cquery->getAllLinks();?>
    <select  id="qlinks" onchange="qlink(this.value)"><?php
        foreach($rs_ql as $quickLink){
            $url =$_SERVER["HTTP_HOST"].$fxn->processURL("page", $quickLink["contentid"], $quickLink["ptitle"], $quickLink["directlink"]);

        ?>
        <option value="<?php echo  $url;//$quickLink["contentid"]; ?>">
            <?php echo $quickLink['ptitle']; ?>
        </option>
        <?php
        }
        ?>

    </select>

</div>